<template>
  <div>
    计算属性： {{ counterStore.doubleCount }}
    {{ counterStore.doubleCountAddOne }}
    find-111:{{ counterStore.getFriendById(111) }}
    showMessage:{{ counterStore.showMessage }}
    <button @click="changeState">修改state</button>
    <button @click="restState">重置state</button>
  </div>
</template>

<script setup>
import useCounter from "@/stores/counter";

const counterStore = useCounter();
</script>

<style>
</style>